# Filters added to this controller will be run for all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
  before_filter :configure_charsets
  
  def configure_charsets
    unless request.xhr?
      response.headers['Content-Type'] = "text/html;charset=utf-8"
    end
  end
end
